<div class="am-u-sm-12 widget main-w" >
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/car/index')}">业务管理</a></li>
		<li><a href="{:url('index')}">乘客管理</a></li>
		<li class="am-active">{$item.passenger_id?乘客编辑:添加乘客}</li>
	</ol>
	<form class="am-form-inline tpl-form-border-form" enctype="multipart/form-data" data-ajax="1" data-check="1">
		<input type="hidden" name="id" name="id" value="{$item.passenger_id}" />
		<div class="am-u-sm-12">
			<div class="am-u-sm-10">
				<div class="am-u-sm-12 " style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">姓名： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="am-form-field tpl-form-no-bg" name="name" style="line-height: 21px;"  data-check='require' data-msg="姓名不能为空" value="{$item.name}">
							</div>
						</div>

					</div>
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">出生年月： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="am-form-field tpl-form-no-bg birthday" name="birthday" value="{$item.birthday}"   data-am-datepicker="" readonly="">
								
							</div>
						</div>
					</div>
					
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">用户： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="hidden" class="user_id" name="user_id" value="{$item.user_id}" />
								<input type="text" class="am-form-field tpl-form-no-bg  user_name"  value="{$item.username}" data-check='require' data-msg="用户不能为空" placeholder="点击选择用户" readonly="">
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">手机号： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="am-form-field tpl-form-no-bg phone" name="phone" style="line-height: 21px;"  data-check='mobile' data-msg="手机号格式不正确" value="{$item.phone}">
							</div>
						</div>

					</div>
					
				</div>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">性别： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<select name="sex" class="sex" data-idx='{$item.sex?:2}'>
									<option value="2">男</option>
									<option value="1">女</option>
								</select>
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">职业： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="occupation" value="{$item.occupation}"  style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">来源： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<select name="source" class="source" data-idx='{$item.source?:1}'>
								<option value="1">公务员</option>
								<option value="2">企业员工</option>
								<option value="3">社会人士</option>
							</select>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">身份证： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="id_number" value="{$item.id_number}"  style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">公司/单位： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="hidden" class="company_id" name="company_id" value="{$item.company_id}" />
								<input type="text" class="am-form-field tpl-form-no-bg company_name" name="unit" style="line-height: 21px;" data-department="1" data-check='require' data-msg="公司/单位不能为空" value="{$item.company_name}" placeholder="点击选择公司/单位" readonly="" >
							</div>
						</div>
					</div>
					
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">部门： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<select class="department"  data-am-selected="{btnWidth:'100%',searchBox: 1}"  data-id="{$item.department_id}" name="department_id">
									
								</select>
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">居住证： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="live_number" value="{$item.live_number}" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label  cl-p" style="line-height: 35px;">所在城市及县区： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p ">
							<div class="am-u-sm-4 cl-p brand">
								<select placeholder="省" class="province" data-am-selected="{btnWidth:'100%',searchBox: 1,maxHeight: 200}" data-index="{$item.province}" name="province">
									{$provinces}
								</select>
							</div>
							<div class="am-u-sm-4 cl-p model">
								<select placeholder="市"  class="city" data-am-selected="{btnWidth:'100%',searchBox: 1,maxHeight: 200}" data-index="{$item.city}" name="city">
									{$citys} 
								</select>
							</div>
							<div class="am-u-sm-4 cl-p series">
								<select placeholder="县"  class="county" data-am-selected="{btnWidth:'100%',searchBox: 1,maxHeight: 200}" data-index="{$item.county}" name="county">
									{$countys}
								</select>
							</div>
							
						</div>
						</div>
					</div>
				</div>
				
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label  cl-p" style="line-height: 33px;">审核员：</label>
						<div class="am-form-group am-u-sm-8 " style="line-height: 35px;height: 33px;">
							<label style="line-height: 33px;height: 33px;font-weight: 300;">
								<input class="am-fl is_check" type="radio" name="is_check" value="9"  style="height: 33px;" {$item.is_check==9?checked:""}  /><div class="am-fl">否</div>
							</label>
							<label style="line-height: 33px;height: 33px;font-weight: 300;">
								<input class="am-fl is_check" type="radio" name="is_check" value="1"  style="height: 33px;" {$item.is_check==1?checked:""} /><div class="am-fl">是</div>
							</label>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label  cl-p" style="line-height: 33px;">代打车：</label>
						<div class="am-form-group am-u-sm-8 " style="line-height: 35px;height: 33px;">
							<label style="line-height: 33px;height: 33px;font-weight: 300;">
								<input id="is_instead0" class="am-fl" type="radio" name="is_instead" value="9"  style="height: 33px;" {$item.is_instead==0?checked:""}  /><div class="am-fl">否</div>
							</label>
							<label style="line-height: 33px;height: 33px;font-weight: 300;">
								<input id="is_instead1" class="am-fl" type="radio" name="is_instead" value="1"  style="height: 33px;" {$item.is_instead==1?checked:""} /><div class="am-fl">是</div>
							</label>
						</div>
					</div>
						
					
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label class="am-u-sm-4 am-form-label  cl-p" style="line-height: 33px;">vip：</label>
						<div class="am-form-group am-u-sm-8 " style="line-height: 35px;height: 33px;">
							<label style="line-height: 33px;height: 33px;font-weight: 300;">
								<input  class="am-fl" type="radio" name="is_vip" value="9"  style="height: 33px;" {$item.is_vip==9?checked:""}  /><div class="am-fl">否</div>
							</label>
							<label style="line-height: 33px;height: 33px;font-weight: 300;">
								<input  class="am-fl" type="radio" name="is_vip" value="1"  style="height: 33px;" {$item.is_vip==1?checked:""} /><div class="am-fl">是</div>
							</label>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-weibo" class="am-u-sm-2 am-form-label cl-p">乘客照片：</label>
						<div class="am-u-sm-10 cl-p">
							
							<div class="am-form-group am-u-sm-3 ">

								<div class="am-u-sm-10 am-margin-top-xs">
									<div class="am-u-sm-12 cl-p">
										<div class="am-form-group file-w">
											<div style="width: 150px;height: 100px;">
												<img class="fileimg" data-magnify="1" alt="驾驶证" src="{if $item.head_portrait}{:CxImg($item.head_portrait)}{else/}{$static_dir}/assets/img/noimg.gif{/if}" style="width: 100%;height: 100%;" />
											</div>
											<button type="button" data-type='file' class="am-btn am-btn-danger am-btn-sm "><i class="am-icon-cloud-upload"></i> 添加图片</button>
											<input type="file" name="head_portrait" data-type='img' style="display: none;">
										</div>
		
									</div>
									
									<!--<div class="am-form-group am-form-file showimg">
										<div class="tpl-form-file-img">
											<img src="{:CxImg($item.head_portrait)}" alt="乘客照片">
										</div>
										<button type="button" class="am-btn am-btn-danger am-btn-sm "><i class="am-icon-cloud-upload"></i> 添加乘客照片</button>
										<input id="doc-form-file" type="file" name="head_portrait" >
									</div>-->

								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-1">&nbsp;</div>
				<div class="am-u-sm-6" style="text-align: center;">
					<button type="button" class="am-btn am-btn-sm am-btn-primary am-radius keep">保存</button>
					<a href="{:url('index')}?page={$Think.get.page}" type="button" class="am-btn am-btn-sm am-btn-secondary am-radius">返回上一页</a>
				</div>
				<div class="am-u-sm-5">&nbsp;</div>
			</div>
			</div>

			
	</form>
	</div>
	